home *** CD-ROM | disk | FTP | other *** search
/ CD Player 1 / CD Player - Numero 1 (France).7z / CD Player - Numero 1 (France).bin / demos / fischer / install.bat < prev    next >
DOS Batch File  |  1994-10-26  |  10KB  |  201 lines

  1. @echo off
  2. if not exist .\phcdata\phc001x.pcx goto error1
  3. if "%1" == "" goto error2
  4.  
  5. cls
  6. echo ┌─────────────────────────────────────────────────────────────────────────────┐
  7. echo │ BOBBY FISCHER TEACHES CHESS:  DEMO VERSION              DOS Install Program │
  8. echo └─────────────────────────────────────────────────────────────────────────────┘
  9. echo 
  10.  
  11. echo             ┌────────────────────────────────────────────────────────┐
  12. echo             │                                                        │
  13. echo             │ This program installs the DEMO version of Bobby        │
  14. echo             │ Fischer Teaches Chess onto your hard drive.  You will  │
  15. echo             │ need approximately 10 Meg of free disk space.          │
  16. echo             │                                                        │
  17. echo             │ NOTE:  Although most of the DEMO can be run directly   │
  18. echo             │ from the CD, response times may be slow.  Therefore,   │
  19. echo             │ we recommend that you continue this install and run    │
  20. echo             │ the BFTC DEMO from your hard drive.                    │
  21. echo             │                                                        │
  22. echo             └────────────────────────────────────────────────────────┘
  23. echo 
  24.  
  25. echo 
  26.  
  27. .\yesno.exe "          Do you wish to continue with the installation (Y/N)? "
  28. if errorlevel = 3 goto end
  29. if errorlevel = 2 goto GoInstall
  30. goto end
  31.  
  32. :GoInstall
  33. cls
  34. echo ┌─────────────────────────────────────────────────────────────────────────────┐
  35. echo │ BOBBY FISCHER TEACHES CHESS:  DEMO VERSION              DOS Install Program │
  36. echo └─────────────────────────────────────────────────────────────────────────────┘
  37. echo 
  38.  
  39. echo             ┌────────────────────────────────────────────────────┐
  40. echo             │  Copying Files.                                    │
  41. echo             │  This process will take several minutes.           │
  42. echo             │                                                    │
  43. echo             │  To order the complete version of Bobby Fischer    │
  44. echo             │  Teaches Chess:                                    │
  45. echo             │                                                    │
  46. echo             │  Distributors/Retailers, call (714) 553-6655       │
  47. echo             │  Consumers, call (800) 969-GAME or contact Mission │
  48. echo             │  Studios directly @ (708) 991-0594.                │
  49. echo             └────────────────────────────────────────────────────┘
  50. echo 
  51.  
  52. echo Creating directory %1\bftcdemo & copying program files.
  53. md %1\bftcdemo
  54. copy .\bftcpath.dat %1\bftcdemo > NUL
  55. copy .\bftc.exe     %1\bftcdemo > NUL
  56. copy .\bftca.exe    %1\bftcdemo > NUL
  57. copy .\bftcb.exe    %1\bftcdemo > NUL
  58. copy .\bftcc.exe    %1\bftcdemo > NUL
  59. copy .\bftcd.exe    %1\bftcdemo > NUL
  60. copy .\bftce.exe    %1\bftcdemo > NUL
  61. copy .\bftcf.exe    %1\bftcdemo > NUL
  62. copy .\bftcg.exe    %1\bftcdemo > NUL
  63. copy .\bftch.exe    %1\bftcdemo > NUL
  64. copy .\hlv16.gft    %1\bftcdemo > NUL
  65. copy .\hlv20.gft    %1\bftcdemo > NUL
  66. copy .\vcr02.gft    %1\bftcdemo > NUL
  67. copy .\main.gxl     %1\bftcdemo > NUL
  68. copy .\sally.ovr    %1\bftcdemo > NUL
  69. copy .\phcb1.pcx    %1\bftcdemo > NUL
  70. copy .\phcb2.pcx    %1\bftcdemo > NUL
  71. copy .\phcb3.pcx    %1\bftcdemo > NUL
  72. copy .\phcback.pcx  %1\bftcdemo > NUL
  73. copy .\author.dat   %1\bftcdemo > NUL
  74. copy .\readme.txt   %1\bftcdemo > NUL
  75.  
  76. echo Creating directory %1\bftcdemo\2dpieces & copying 2d chess pieces.
  77. md %1\bftcdemo\2dpieces
  78. copy .\2dpieces\*.* %1\bftcdemo\2dpieces > NUL
  79. echo Creating directory %1\bftcdemo\3dpieces & copying 3d chess pieces.
  80. md %1\bftcdemo\3dpieces
  81. copy .\3dpieces\*.* %1\bftcdemo\3dpieces > NUL
  82. echo Creating directory %1\bftcdemo\pictures & copying demo lesson images.
  83. md %1\bftcdemo\pictures
  84. copy .\pictures\*.* %1\bftcdemo\pictures > NUL
  85. echo Creating directory %1\bftcdemo\books & copying demo lessons.
  86. md %1\bftcdemo\books
  87. copy .\books\*.* %1\bftcdemo\books > NUL
  88. echo Creating directory %1\bftcdemo\sounds & copying sound files.
  89. md %1\bftcdemo\sounds
  90. copy .\sounds\*.* %1\bftcdemo\sounds > NUL
  91. echo Creating directory %1\bftcdemo\desktops & copying background images.
  92. md %1\bftcdemo\desktops
  93. copy .\desktops\default.pcx  %1\bftcdemo\desktops > NUL
  94. copy .\desktops\gray.pcx     %1\bftcdemo\desktops > NUL
  95. copy .\desktops\granite.pcx  %1\bftcdemo\desktops > NUL
  96. copy .\desktops\sndstone.pcx %1\bftcdemo\desktops > NUL
  97. copy .\desktops\drkmarbl.pcx %1\bftcdemo\desktops > NUL
  98. echo Creating directory %1\bftcdemo\phcdata & copying pictures.
  99. md %1\bftcdemo\phcdata
  100. copy .\phcdata\*.* %1\bftcdemo\phcdata > NUL
  101. echo Creating directory %1\bftcdemo\temp.
  102. md %1\bftcdemo\temp
  103. cls
  104. echo ┌─────────────────────────────────────────────────────────────────────────────┐
  105. echo │ BOBBY FISCHER TEACHES CHESS                             DOS Install Program │
  106. echo └─────────────────────────────────────────────────────────────────────────────┘
  107. echo 
  108.  
  109. echo        ┌──────────────────────────────────────────────────────────────┐
  110. echo        │ IMPORTANT NOTE                                               │
  111. echo        │                                                              │
  112. echo        │ If you have any problems running the DEMO of BFTC, please    │
  113. echo        │ read the file README.TXT.  It has important troubleshooting  │
  114. echo        │ information.                                                 │
  115. echo        │                                                              │
  116. echo        │ Most problems are caused by the following:                   │
  117. echo        │                                                              │
  118. echo        │    - Not enough memory.... Have at least 560K available.     │
  119. echo        │    - Super VGA problems... You may need a VESA driver.       │
  120. echo        │                                                              │
  121. echo        │ The file README.TXT has more information.  To view it, type: │
  122. echo        │                                                              │
  123. echo        │                "TYPE README.TXT | MORE [Enter]"              │
  124. echo        │                                                              │
  125. echo        └──────────────────────────────────────────────────────────────┘
  126. echo 
  127. pause
  128. cls
  129. echo ┌─────────────────────────────────────────────────────────────────────────────┐
  130. echo │ BOBBY FISCHER TEACHES CHESS:  DEMO VERSION              DOS Install Program │
  131. echo └─────────────────────────────────────────────────────────────────────────────┘
  132. echo 
  133.  
  134. echo       ┌──────────────────────────────────────────────────────────────────┐
  135. echo       │     The DEMO version of Bobby Fischer Teaches Chess has been     │
  136. echo       │                     successfully installed!!                     │
  137. echo       │                                                                  │
  138. echo       │  The file README.TXT contains the latest information on BFTC.    │
  139. echo       │  To view this file type the following command at the DOS prompt: │
  140. echo       │                                                                  │
  141. echo       │                "TYPE README.TXT | MORE [Enter]"                  │
  142. echo       └──────────────────────────────────────────────────────────────────┘
  143. echo 
  144.  
  145. echo         To run the Bobby Fischer Teaches Chess DEMO:
  146. echo             1)  Insert the BFTC CD into your CD-ROM drive.
  147. echo             2)  Change to the correct drive:      %1 [Enter]
  148. echo             3)  Change to the BFTCDEMO directory: CD \BFTCDEMO [Enter]
  149. echo             4)  Run the program:                  BFTC [Enter]
  150. goto end
  151. :error1
  152. cls
  153. echo ┌─────────────────────────────────────────────────────────────────────────────┐
  154. echo │ BOBBY FISCHER TEACHES CHESS:  DEMO VERSION              DOS Install Program │
  155. echo └─────────────────────────────────────────────────────────────────────────────┘
  156. echo 
  157.  
  158. echo             ┌────────────────────────────────────────────────────┐
  159. echo             │                INSTALLATION ERROR                  │
  160. echo             │ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ │
  161. echo             │                                                    │
  162. echo             │ You must be "logged on to" the Bobby Fischer       │
  163. echo             │ Teaches Chess DEMO CD to run the Install program!  │
  164. echo             │                                                    │
  165. echo             │    Examples:                                       │
  166. echo             │                                                    │
  167. echo             │    If your CD-ROM drive is D type:   D: [Enter]    │
  168. echo             │    If your CD-ROM drive is E type:   E: [Enter]    │
  169. echo             │    If your CD-ROM drive is F type:   F: [Enter]    │
  170. echo             └────────────────────────────────────────────────────┘
  171. goto end
  172.  
  173. :error2
  174. cls
  175. echo ┌─────────────────────────────────────────────────────────────────────────────┐
  176. echo │ BOBBY FISCHER TEACHES CHESS:  DEMO VERSION              DOS Install Program │
  177. echo └─────────────────────────────────────────────────────────────────────────────┘
  178. echo 
  179.  
  180. echo             ┌─────────────────────────────────────────────────────┐
  181. echo             │                 INSTALLATION ERROR                  │
  182. echo             │ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ │
  183. echo             │                                                     │
  184. echo             │ You need to tell the INSTALL program on which drive │
  185. echo             │ to install the Bobby Fischer Teaches Chess DEMO.    │
  186. echo             │ Type "install" followed by a space, the drive       │
  187. echo             │ letter and a colon.  Then press [Enter].            │
  188. echo             │                                                     │
  189. echo             │   Examples:                                         │
  190. echo             │                                                     │
  191. echo             │   To install to drive C:    INSTALL C: [Enter]      │
  192. echo             │   To install to drive D:    INSTALL D: [Enter]      │
  193. echo             │   To install to drive E:    INSTALL E: [Enter]      │
  194. echo             └─────────────────────────────────────────────────────┘
  195. goto end
  196.  
  197. :end
  198. @echo on
  199.  
  200. 
  201.